<?php
/**
 * Created by PhpStorm.
 * User: 24369
 * Date: 2021/6/26
 * Time: 9:22
 */
namespace app\admin\logic;

use think\facade\Request;

class OrderLogic
{
    public static function getWhere()
    {
        $param=Request::param();
        $where=[];
        if (isset($param['cid'])&&$param['cid']!='')                $where['cid']=$param['cid'];
        if (isset($param['keywords'])&&$param['keywords']!='')      $where['keywords']=$param['keywords'];
        return  $where;
    }
}
